package com.zjg.dao;

import java.io.IOException;
import java.io.InputStream;

import org.junit.Test;

import com.zjg.bean.Blog;
import com.zjg.dao.iface.BlogDao;
import com.zjg.dao.iface.UserDao;
import com.zjg.service.BlogServiceImp;
import com.zjg.service.iface.BlogService;

public class BlogDaotest {
@Test
public void Blogtest() throws IOException {
	UserDao ud=new UserDaoImp();
	InputStream in=ud.getHeadIcon(52);
	System.out.println(in.available());
	
}
}
